/********************************************************************
	File		: EntityTemplate.h
	Created		: 2011-2-22	21:18
	Author		: Wjl

	Desc		: This file is part of omiga 2d engine.
*********************************************************************/

#ifndef EntityTemplate_H__
#define EntityTemplate_H__

#include "Entity.h"

namespace Ent
{
	class Component;

	class EntityTemplate
	{
	public:

		EntityTemplate(); // use xml node
		virtual ~EntityTemplate();

		Entity*		CreateEntity(EntID _eID, const std::string& _entityName);

		const std::string&	GetName() const { return m_TemplateName; }

	private:

		std::string				m_TemplateName;
		std::list<std::string>	m_Comps; // Components
	};
}

#endif // EntityTemplate_H__